package com.zsk.shop.model.results;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author Ys
 * @date 2021年12月07日 11:51
 */
@Data
public class ShopOrderInfoResult {
    @ApiModelProperty("order对应id")
    private Long id;

    @ApiModelProperty("收货人")
    private String name;

    @ApiModelProperty("收货人手机号")
    private String phone;

    @ApiModelProperty("省市区+收货地址")
    private String address;

    @ApiModelProperty("物流状态")
    private String deliveryStatus;

    @ApiModelProperty("物流公司")
    private String expName;

    @ApiModelProperty("物流单号")
    private String expNumber;

    @ApiModelProperty("订单号")
    private String orderNo;

    @ApiModelProperty("商品No")
    private String goodsNo;

    @ApiModelProperty("商品名称")
    private String goodsName;

    @ApiModelProperty("1 普通，2 0元购，3 会员商城, 4 特殊")
    private Integer goodsOrderType;

    @ApiModelProperty("赠送积分")
    private Integer returnPoints;

    @ApiModelProperty("抵扣积分")
    private BigDecimal deductPoints;

    @ApiModelProperty("商品图片")
    private String goodsImg;

    @ApiModelProperty("SUK图片")
    private String skuImg;

    @ApiModelProperty("数量")
    private Integer goodsNumber;

    @ApiModelProperty("实付金额")
    private BigDecimal payAmount;

    @ApiModelProperty("邮费")
    private BigDecimal postage;

    @ApiModelProperty("订单金额")
    private BigDecimal amount;

    @ApiModelProperty("订单状态:0 待支付 / 10 支付成功=待发货 / 20 支付成功=已发货 30 已完成/ 40 取消订单/ 取消订单-未支付 41")
    private String orderStatus;

    @ApiModelProperty("订单类型 1 正常购买，2 报单")
    private Integer orderType;

    @ApiModelProperty("订单创建时间")
    private Date createTime;

    @ApiModelProperty("订单支付时间")
    private Date payTime;

    @ApiModelProperty("发货时间")
    private Date deliverTime;

    @ApiModelProperty("订单未支付时，截止到什么时间系统取消订单")
    private String cancelTime;

}
